package xyz.bali16.application.model.role;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;


@Data
@ApiModel("修改角色参数")
@ToString
public class RoleUpdateParam extends  RoleAddParam {


    /**
     * 角色名称
     */
    @ApiModelProperty(name = "roleId", value = "角色id", required = true)
    @NotEmpty(message = "角色id不能为空")
    private String roleId;

}
